home *** CD-ROM | disk | FTP | other *** search
- property ancestor, pButtonName
- global gSection
-
- on new me, buttonName, castName, theChannel, theStageLoc, descendant
- if objectp(descendant) then
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, descendant)
- else
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, me)
- end if
- pButtonName = buttonName
- return me
- end
-
- on performFunction me
- global gMenuList
- repeat with X = 30 to 35
- menuObj = getaProp(gMenuList, X)
- outScope(menuObj)
- end repeat
- updateStage()
- gSection = pButtonName
- go(label(pButtonName))
- getAudioFile(the frame)
- end
-